package com.ruoyi.archive.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.archive.domain.SRetiredRedArmy;

/**
 * 退伍红军老战士信息Service接口
 *
 * @author Allen
 * @date 2021-09-29
 */
public interface ISRetiredRedArmyService extends IService<SRetiredRedArmy> {
    /**
     * 查询退伍红军老战士信息
     *
     * @param id
     *         退伍红军老战士信息主键
     *
     * @return 退伍红军老战士信息
     */
    public SRetiredRedArmy selectSRetiredRedArmyById(Long id);

    /**
     * 查询退伍红军老战士信息列表
     *
     * @param sRetiredRedArmy
     *         退伍红军老战士信息
     *
     * @return 退伍红军老战士信息集合
     */
    public List<SRetiredRedArmy> selectSRetiredRedArmyList(SRetiredRedArmy sRetiredRedArmy);

    /**
     * 新增退伍红军老战士信息
     *
     * @param sRetiredRedArmy
     *         退伍红军老战士信息
     *
     * @return 结果
     */
    public int insertSRetiredRedArmy(SRetiredRedArmy sRetiredRedArmy);

    /**
     * 修改退伍红军老战士信息
     *
     * @param sRetiredRedArmy
     *         退伍红军老战士信息
     *
     * @return 结果
     */
    public int updateSRetiredRedArmy(SRetiredRedArmy sRetiredRedArmy);

    /**
     * 批量删除退伍红军老战士信息
     *
     * @param ids
     *         需要删除的退伍红军老战士信息主键集合
     *
     * @return 结果
     */
    public int deleteSRetiredRedArmyByIds(Long[] ids);

    /**
     * 删除退伍红军老战士信息信息
     *
     * @param id
     *         退伍红军老战士信息主键
     *
     * @return 结果
     */
    public int deleteSRetiredRedArmyById(Long id);
}
